package com.ykdl.member.kid.beans;

import java.io.Serializable;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import net.wxxr.http.interfaces.IJsonParser;

public class OperationOrderBean implements Serializable, IJsonParser{

	/**{“access_token”: "09e8a57bb2401a66b143c0dabd3868f04e7f0e52", 
"result": true #(bool) 如果操作成功返回true 失败返回false, 
"order_status": 2, 1: "备货中", 2:"待支付", 3: "待发货", 4:待收货, 5:已完成, 6:退款中, 7:已关闭
"order_status_desc": "待支付",
}
	 * 
	 */
	private static final long serialVersionUID = -8799368215171706743L;
	private boolean result ;
	private int order_status;
	private String order_status_desc;
	private int comb_order_status ;
	public int getComb_order_status() {
		return comb_order_status;
	}
	public boolean isResult() {
		return result;
	}
	public int getOrder_status() {
		return order_status;
	}
	public String getOrder_status_desc() {
		return order_status_desc;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson   gson = null;
		if(null != json){
			GsonBuilder b = new GsonBuilder();
			gson  = b.create();
			return gson.fromJson(json, OperationOrderBean.class);
		}
		return null;
	}

}
